package kryonetpackets;

public class LoginConfirm {
	private boolean isLoggedIn;
	private NetworkPlayer player;
	
	public LoginConfirm() {}
	
	public LoginConfirm(boolean isLoggedIn) {
		this.isLoggedIn = isLoggedIn;
	}
	public LoginConfirm(boolean isLoggedIn, NetworkPlayer player)
	{
		this.isLoggedIn = isLoggedIn;
		this.player = player;
	}
	
	public boolean IsLoggedIn() { return this.isLoggedIn; }

	public NetworkPlayer getPlayer() {
		return player;
	}

	public void setPlayer(NetworkPlayer player) {
		this.player = player;
	}

}
